import request from '@/utils/request'

interface User {
  username: string
  password: string
}

export function fetchLogin(data: User) {
  return request.post('/api/auth/login/', data)
}
